import {createRouter,createWebHashHistory} from 'vue-router'    

const routes = [
    {
        path:'/',
        name:"home",
        component:()=>import('../views/index.vue')
    },
    {
        path:'/nav',
        name:"nav",
        component:()=>import('../views/nav.vue')},
]

const router = createRouter ({
    history:createWebHashHistory(),
    routes,
})

export default router;